package org.hbkj.springbootmybatis.entity;

public class GoodsDo {
    private Long id;
    private String name;
    private String price;
    private String pic;
    // 新增字段
    private String detail;  // 商品详情
    private Integer total;  // 商品总数
    private Integer remaining;  // 剩余量

    // getter/setter方法
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }

    public String getName() { return name; }
    public void setName(String name) { this.name = name; }

    public String getPrice() { return price; }
    public void setPrice(String price) { this.price = price; }

    public String getPic() { return pic; }
    public void setPic(String pic) { this.pic = pic; }

    // 新增字段的getter/setter
    public String getDetail() { return detail; }
    public void setDetail(String detail) { this.detail = detail; }

    public Integer getTotal() { return total; }
    public void setTotal(Integer total) { this.total = total; }

    public Integer getRemaining() { return remaining; }
    public void setRemaining(Integer remaining) { this.remaining = remaining; }
}